package cn.enilu.flash.convert;

import cn.enilu.flash.bean.entity.blindbox.BlindBoxGoods;
import cn.enilu.flash.bean.entity.blindbox.BlindBoxGoodsUser;
import cn.enilu.flash.bean.vo.blindbox.BlindBoxGoodsUserVO;
import cn.enilu.flash.bean.vo.blindbox.BlindBoxGoodsVO;
import cn.enilu.flash.utils.lottery.entity.Gift;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface GiftConvert {
    GiftConvert INSTANCE = Mappers.getMapper(GiftConvert.class);

    List<Gift> convertGift(List<BlindBoxGoods> list);
    List<BlindBoxGoodsVO> convertList(List<BlindBoxGoods> list);
    List<BlindBoxGoodsUserVO> convertGoodsUserList(List<BlindBoxGoodsUser> list);
}
